![]() |
PATH![]() |
![]() ![]() |
Specifies the events to be received by the ModalDialog function.
pascal OSStatus SetModalDialogEventMask (
DialogPtr inDialog,
EventMask inMask);
Your application can use the SetModalDialogEventMask function to specify the events received by the ModalDialog function for a given modal dialog box. This allows your application to specify additional events that are not by default received by ModalDialog , such as disk-inserted events and operating-system events. If you use SetModalDialogEventMask to change the ModalDialog function's event mask, you should pass ModalDialog a pointer to your own event filter function to handle any added events.